// LMS header styles

.header-global {
  @extend %ui-depth1;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  border-bottom: 1px solid $gray-l1;
  box-shadow: 0 1px 5px 0 $shadow-l1;
  background: $header-bg;

  .wrapper-header {
    @include clearfix();
    box-sizing: border-box;
    height: 74px;
    margin: 0 auto;
    padding: 10px 10px 0;
    width: 100%;
    max-width: 1180px;

    .logo {
      @include float(left);
      @include margin-right(39px);
      @include margin-left(10px);
      margin-top: 4px;
      margin-bottom: 0;
      position: relative;
    }

    .left {
      @include float(left);
    }

    .right {
      @include float(right);
    }

    .wrapper-user-menu {
      @include float(right);
      margin-top: 4px;
      width: auto;
    }

    .dropdown-menu {
      @include text-align(left);
      top: inherit;
    }

    .list-inline {
      &.nav-global {
        margin-top: 12px;
      }

      &.nav-courseware {
        margin-top: 5px;
      }

      .item {
        font-weight: font-weight(semi-bold);
        text-transform: uppercase;

        &.active {
          a {
            text-decoration: none;
            color: $link-color;
          }
        }
      }
    }

    .tab-nav-item{
      @include float(left);
      display: flex;
      margin: 0;
      justify-content: center;

      .tab-nav-link{
        font-size: font-size(base);
        font-weight: font-weight(semi-bold);
        color: palette(grayscale, dark);
        padding: 5px 25px 23px;
        display: inline-block;

        &:active,
        &:focus,
        &:hover {
          border-bottom: 4px solid $courseware-border-bottom-color;
        }
      }

      .active{
        border-bottom: 4px solid $black-t3 !important;
      }
    }
  }
}
